package com.yy.yyui
{
	import com.yy.tools.graphics.GT;
	
	import flash.display.Shape;

	/**
	 *空显示对象 
	 * @author YY
	 * 
	 */
	public class EmptyDisplayObject extends Shape
	{
		private var w:Number;
		private var h:Number;
		public function EmptyDisplayObject(w:Number=0,h:Number=0)
		{
			super();
			this.w = w;
			this.h = h;
			GT.fulFill2(this,0x00000,0);
		}
		
		override public function get width():Number{return w;}
		override public function get height():Number{return h;}

		
		override public function set width(newWidth : Number) : void {
			var diff:Number = newWidth - w;
			var oldW:Number,oldH:Number;
			var i:uint,l:uint;
			w = newWidth;
		}
		
		override public function set height(newHeight : Number) : void {
			var diff:Number = newHeight - h;
			var oldW:Number,oldH:Number;
			var i:uint,l:uint;			
			h = newHeight;			
		}
	}
}